﻿ 
@using DevelopmentKit.Extensions.MvcContrib
@model DevelopmentKit.Web.Controllers.ViewModels.UserViewModels.ModifyUserViewModel
@{
    ViewBag.Title = "个人资料管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    @Html.AntiForgeryToken()
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
        
            <li>
                @Html.LabelFor(model => model.UserName)   
                @Model.UserName
                @Html.HiddenFor(model => model.UserName)
            </li>
            <li>
                @Html.LabelFor(model => model.Name)   
                @Html.TextBoxFor(model => model.Name, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Name)
            </li>
           
            <li>
                @Html.LabelFor(model => model.Mobile)   
                @Html.TextBoxFor(model => model.Mobile, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Mobile)
            </li>
            <li>
                @Html.LabelFor(model => model.Email)   
                @Html.TextBoxFor(model => model.Email, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Email)
            </li>
           
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
    @Html.ActionLinkEx("修改密码","ChangePassword","User",new{returnUrl = Request.RawUrl},new{})
    <br />
    <br />
    <br />
}

